#pragma once 
#include "string"

class Point
{
public:
	Point(int x, int y)
	{
		this->x = x;
		this->y = y;
	}
	int hashCode() {
		int prime = 31;
		int result = 1;
		result = prime * result + x;
		result = prime * result + y;
		return result;
	}
	std::string toString() {
		std::string str = "";
		str += "(" + std::to_string(x) + "," + std::to_string(y) + ")";
		return str;
	}
 public:
	int x;
	int y;
};
